/*
 * Created on Jan 1, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.vectrics.location;

import java.util.Collection;

import org.vectrics.common.db.Criteria;

/**
 * @author MMoore
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class LocationCriteria extends Criteria {
	private boolean onlyChildless = false;
	private String name = null;
	private String locationType = null;
	private Collection parentList = null;
	
	/**
	 * @return Returns the onlyChildless.
	 */
	public boolean getOnlyChildless() {
		return onlyChildless;
	}
	/**
	 * @param onlyChildless The onlyChildless to set.
	 */
	public void setOnlyChildless(boolean onlyChildless) {
		this.onlyChildless = onlyChildless;
	}
	/**
	 * 
	 */
	public LocationCriteria() {
		super();
	}

	
	
	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	
	/**
	 * @return Returns the parentList.
	 */
	public Collection getParentList() {
		return parentList;
	}
	/**
	 * @param parentList The parentList to set.
	 */
	public void setParentList(Collection parentList) {
		this.parentList = parentList;
	}
	/**
	 * @return the locationType
	 */
	public String getLocationType() {
		return locationType;
	}
	/**
	 * @param locationType the locationType to set
	 */
	public void setLocationType(String locationType) {
		this.locationType = locationType;
	}
}
